package com.ruoyi.merchantsrecord.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.customermerchants.domain.CrmCustomerMerchants;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户线索跟进记录对象 crm_customer_merchants_record
 * 
 * @author hct
 * @date 2022-02-16
 */
@Data
public class CrmCustomerMerchantsRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 线索id */
    @Excel(name = "线索id")
    private Long merchantsId;

    private CrmCustomerMerchants crmCustomerMerchants;

    /** 跟进记录 */
    @Excel(name = "跟进记录")
    private String record;
     /**意向程度 0不知道 1无 2一般 3强 **/
    private Integer intentionState;
    /**跟进方式  1客户上门 2电话 3短信  4邮件 5客户来电 6主动电访**/
    private Integer investigationMode;
    /** 图片集合 */
    @Excel(name = "图片集合")
    private String imgs;

    /** 跟进人 */
    @Excel(name = "跟进人")
    private Long userId;


/*
    */
/** 计划时间 *//*

    private Date planTime;
    */
/** 计划记录 *//*

    private String planRecord;
*/

    /** 客户名称 */
     private String companyName;
    /** 主题名称 */
     private String clueName;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantsId", getMerchantsId())
            .append("record", getRecord())
            .append("createTime", getCreateTime())
            .append("imgs", getImgs())
            .append("userId", getUserId())
            .toString();
    }
}
